import type {  CarRuleData, CarRuleParams } from "@/types/car";
import { request } from "@/utils/reuqest";

/**
 * 获取规则列表
 * @param { Object } params page、pageSize
 * @returns
 */
export const getRuleListAPI = (params: CarRuleParams) => {
  return request<CarRuleData>("parking/rule/list", "GET", params);
};